<!--
 * @Descripttion: 
 * @version: 
 * @Author: 程
 * @Date: 2022-11-09 13:17:39
 * @LastEditors: 程
 * @LastEditTime: 2022-11-09 15:46:43
-->
<template>
  <div class="home">
    <div class="name">
      {{ $t('info.name') }}
    </div>
    <div class="tips">{{ $t('info.tips') }}</div>
    <div class="btn" @click="to">
      <div>{{ $t('info.btn') }}</div>
      <el-icon><FolderRemove /></el-icon>
    </div>
  </div>
</template>
<script setup lang="ts">
const emit = defineEmits(['go']);
function to() {
  emit('go', 2);
}
</script>
<style lang="scss" scoped>
.home {
  margin-left: 5%;
  position: relative;
  .name {
    width: 100%;
    font-size: 90px;
    font-weight: bold;
    margin-top: 20%;
    line-height: 110px;
  }
  .tips {
    margin-top: 5%;
    font-size: 24px;
    color: #606266;
  }
  .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    border: 2px solid #303133;
    padding: 20px;
    font-size: 20px;
    text-align: center;
    border-radius: 5px;
    margin-top: 5%;
    cursor: pointer;
    div {
      margin-right: 20px;
    }
  }
}
</style>
